package com.xoa.service.cms.core;

import java.util.HashMap;
import java.util.Map;

/**
* @author 程叶同
* @date 2018/8/13 14:48
* @desc  cms模板自定义标签注入
*/
public class CmsTemplateUtil {

    public static Map getInstance(){
        Map map = new HashMap();
        map.put("Site", new CmsSiteDirective());
        map.put("Out", new CmsOutDirective());
        map.put("Channel", new CmsChannelDirective());
        map.put("Channels", new CmsChannelsDirective());
        map.put("Document", new CmsDocumentDirective());
        map.put("Documents", new CmsDocumentsDirective());
        map.put("Rootpath", new CmsRootPathDirective());
        map.put("Pager", new CmsPagerDirective());
        map.put("Location", new CmsLocationDirective());
        return map;
    }
}
